
<form id="form_edit"><input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td width="20%" align="right">流水号：</td>
		<td width="30%">{[$result.id]}（{[$result.oper_t]}）</td>
		<td width="20%" align="right">状态：</td>
		<td width="30%">{[$result.status_t]}</td>
	</tr>
	<tr>
		<td align="right">负责人：</td>
		<td><input type="text" name="emp" id="emp" size="12" value="{[$result.emp]}:{[$result.emp_t]}" title="{[$t.emp_|emp:'负责人']}"> <input
			type="checkbox" name="t_emp" id="t_emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}"> 自己</td>
		<td align="right">状态：</td>
		<td><select name='status' id='status'>
			{[html_options options=$status_option selected=$result.status]}
		</select></td>		
	</tr>
	<tr>
		<td align="right">仓库：</td>
		<td colspan="3"><input type="text" name="place" id="place" size="12" value="{[$result.place]}"> <select name='place_t'
			id='place_t'>
			{[html_options options=$place_option selected=-]}
		</select></td>		
	</tr>
	<tr>
		<td align="right">名称：</td>
		<td colspan="3"><textarea rows="2" name="name" cols="55">{[$result.name]}</textarea></td>
	</tr>
	<tr>
		<td align="right">规格：</td>
		<td colspan="3"><textarea rows="2" name="standard" cols="55">{[$result.standard]}</textarea></td>
	</tr>
	<tr>
		<td align="right">单价：</td>
		<td colspan="3"><input type="text" name="price" id="price" size="8" value="{[$result.price|string_price]}">
		<input type="text" name="unit" id="unit" size="4" value="{[$result.unit]}"> <select name='unit_t' id='unit_t'>
			{[html_options options=$unit_option selected=-]}
		</select></td>
	</tr>
	<tr>		
		<td align="right">数量：</td>
		<td><input type="text" name="amount" size="8" value="{[$result.amount|string_float]}"></td>
		<td align="right"></td>
		<td></td>
	</tr>	
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="3" name="content" cols="55">{[$result.content]}</textarea></td>
	</tr>
</table>
</form>

<script type="text/javascript" src="js/material/amount/edit.js?r={[$smarty.now]}"></script>
